package com.saas.demo.comman;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @program: demo
 * @description: 共享常量
 * @author: guoxh
 * @create: 2019-01-25 15:19
 **/
@Getter
@Component
public class CommonConst {

    public static String[] SPLIT_TABLE_LIST;

    @Value("${split.table.list}")
    public void setSplitTableList(String[] splitTableList) {
        SPLIT_TABLE_LIST = splitTableList;
    }
}
